home *** CD-ROM | disk | FTP | other *** search
/ Workbench Design / WB Collection.iso / workbench werkzeuge / preference programme / dtpref_inst / install < prev    next >
Text File  |  1996-04-07  |  2KB  |  78 lines

  1. ;******************************************************************************
  2. ; Installation script for DataTypes Collection #2 (AMS)
  3. ; Written by David N. Junod
  4. ;
  5. ; Modified for DTpref
  6. ; Swen K. Stullich   10.03.95
  7. ;******************************************************************************
  8.  
  9. ; Initialize a few things
  10. (set docbits 0)
  11.  
  12. ;******************************************************************************
  13. ; Prompt for components and their directories
  14.  
  15. ; Prefs
  16. (set prefsdir
  17.     (askdir
  18.         (prompt "Where do the Preferences belong")
  19.         (help @askdir-help)
  20.         (default "SYS:Prefs")
  21.     )
  22. )
  23.  
  24. ; Docs
  25. (set docsdir
  26.     (askdir
  27.         (prompt "Where do the Documentations belong")
  28.         (help @askdir-help)
  29.         (default "SYS:Docs")
  30.     )
  31. )
  32.  
  33. ;******************************************************************************
  34. ;******************************************************************************
  35. ;******************************************************************************
  36.  
  37. ;**********************************************************************
  38. ; Install
  39. ;**********************************************************************
  40. (
  41.     ; Show what we are doing
  42.     (working "Installing " @app-name)
  43.  
  44.     ; Install the library
  45.     (copylib
  46.         (prompt "Copying gtlayout.library")
  47.         (help @copylib-help)
  48.         (source "libs/gtlayout.library")
  49.         (dest "LIBS:")
  50.         (confirm)
  51.     )
  52.  
  53.     ; Install the Editor
  54.     (copyfiles
  55.         (prompt "Copying the Preferenceseditor")
  56.         (help @copyfiles-help)
  57.         (source "DTpref/")
  58.         (dest prefsdir)
  59.         (pattern "#?")
  60.         (infos)
  61. ;        (confirm)
  62.     )
  63.  
  64.     ; Install the Docs
  65.     (copyfiles
  66.         (prompt "Copying the Documentations")
  67.         (help @copyfiles-help)
  68.         (source "Docs/")
  69.         (dest docsdir)
  70.         (pattern "#?")
  71.         (infos)
  72.         (confirm)
  73.     )
  74. )
  75.  
  76. (set @default-dest prefsdir)
  77. (set @default-dest docsdir)
  78.